package pojo;

import java.util.*;

public class Client {
	
	private ClientType cType;
	private ClientStatus cStatus;
	private int id;
	private String name;
	private String phone;
	private Account account;
	private ArrayList<User> users = new ArrayList<>();
	private ArrayList<Order> orders = new ArrayList<>();
	public Client(int id, String name, String phone, ClientType cType, ClientStatus cStatus,Account account) {
		super();
		this.id = id;
		this.name = name;
		this.phone = phone;
		this.cType = cType;
		this.cStatus = cStatus;
		this.account = account;
	}
	public ClientType getType() {
		return cType;
	}
	public void setType(ClientType type) {
		this.cType = type;
	}
	public ClientStatus getStatus() {
		return cStatus;
	}
	public void setStatus(ClientStatus status) {
		this.cStatus = status;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public Account getAccount() {
		return account;
	}
	public void setAccount(Account account) {
		this.account = account;
	}
	public List<User> getUsers() {
		return users;
	}
	public void setUsers(ArrayList<User> users) {
		this.users = users;
	}
	public List<Order> getOrders() {
		return orders;
	}
	public void setOrders(ArrayList<Order> orders) {
		this.orders = orders;
	}
	
	
}
